import { ModuleWithProviders } from '@angular/core'
import { Routes, RouterModule } from '@angular/router'

export const routes: Routes = [
  {
    path: 'order',
    loadChildren: 'app/+bom/+bom-order/bom-order.module#BomOrderModule'
  },
  {
    path: 'replenish-order',
    loadChildren: 'app/+bom/+replenish-order/replenish-order.module#ReplenishOrderModule'
  },
  {
    path: 'hold',
    loadChildren: 'app/+bom/+bom-hold/bom-hold.module#BomHoldModule'
  },
  {
    path: 'manage-all',
    loadChildren: 'app/+bom/+bom-manage-all/bom-manage.module#BomManageModule'
  },
  {
    path: 'material',
    loadChildren: 'app/+bom/+bom-material/bom-material.module#BomMaterialModule'
  },
  {
    path: 'material-all',
    loadChildren: 'app/+bom/+bom-material-all/bom-material-all.module#BomMaterialAllModule'
  },
  {
    path: 'project',
    loadChildren: 'app/+bom/+bom-project/bom-project.module#BomProjectModule'
  },
  {
    path: 'sales',
    loadChildren: 'app/+bom/+bom-sales/bom-sales.module#BomSalesModule'
  },
  {
    path: 'express-company',
    loadChildren: 'app/+bom/+express-company/express-company.module#ExpressCompanyModule'
  },
  {
    path: 'material-type',
    loadChildren: 'app/+bom/+material-type/material-type.module#MaterialTypeModule'
  }
]

export const routing = RouterModule.forChild(routes)
